namespace Matrix.ServiceDiscovery.Consts
{
    /// <summary>
    /// 服务信息常量
    /// </summary>
    public static class ServiceInfoConsts
    {
        /// <summary>
        /// 服务名称最大长度
        /// </summary>
        public const int MaxNameLength = 128;

        /// <summary>
        /// 服务版本最大长度
        /// </summary>
        public const int MaxVersionLength = 32;

        /// <summary>
        /// 服务描述最大长度
        /// </summary>
        public const int MaxDescriptionLength = 500;

        /// <summary>
        /// 服务分组最大长度
        /// </summary>
        public const int MaxServiceGroupLength = 64;

        /// <summary>
        /// 默认服务分组
        /// </summary>
        public const string DefaultServiceGroup = "Default";
    }
}